//
//  AppDelegate.h
//  MyWeChat
//
//  Created by 蔡欣东 on 15/10/5.
//  Copyright © 2015年 蔡欣东. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MessageDelegate.h"
#import "PresenceDelegate.h"
#import "MessageInFriendListDelegate.h"
#import "XMPP.h"
#import "CommonFile.m"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property(nonatomic,assign) id<MessageDelegate> messageDelegate;
@property(nonatomic,assign) id<PresenceDelegate> presenceDelegate;
@property(nonatomic,assign)id<MessageInFriendListDelegate> messageInFriendListDelegate;
@property(nonatomic,strong)XMPPStream* xmppStream1;
@property(nonatomic,strong)UITabBarController* tabbarController;
-(void)login;
-(void)loginOff;
-(void)showLoginView:(BOOL) animated;
@end

